﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sealight.Data
{
    public interface IRepository<T>
    {
        T GetById(Guid id);
        void Save(T entity);
        void SaveOrUpdate(T entity);
        void Update(T entity);

        IList<T> GetAll();

        void Delete(T entity);
         
    }
}
